package eteam.aps.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import eteam.aps.common.entity.ParentEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 销售订单;
 *
 * @author LiuLei
 */
@ApiModel(value = "SalesOrder", description = "销售订单")
@TableName("zn_sales_order")
public class SalesOrder extends ParentEntity {

    @TableField("FAuditId")
    @ApiModelProperty(name = "销售订单字表id", notes = "销售订单字表id")
    private String fAuditId;

    /**
     * 业务类型;业务类型
     */
    @TableField("FBusinessType")
    @ApiModelProperty(name = "业务类型", notes = "业务类型")
    private String fBusinessType;

    /**
     * 销售类型编码;销售类型编码
     */
    @TableField("FTypeCode")
    @ApiModelProperty(name = "销售类型编码", notes = "销售类型编码")
    private String fTypeCode;

    /**
     * 销售类型;销售类型
     */
    @TableField("FTypeName")
    @ApiModelProperty(name = "销售类型", notes = "销售类型")
    private String fTypeName;

    /**
     * 单据状态;单据状态
     */
    @TableField("FDState")
    @ApiModelProperty(name = "单据状态", notes = "单据状态")
    private String fDState;

    /**
     * 客户代码;客户代码
     */
    @TableField("FCustomerCode")
    @ApiModelProperty(name = "客户代码", notes = "客户代码")
    private String fCustomerCode;

    /**
     * 客户名称;客户名称
     */
    @TableField("FCustomerName")
    @ApiModelProperty(name = "客户名称", notes = "客户名称")
    private String fCustomerName;

    /**
     * 客户简称;客户简称
     */
    @TableField("FCustomerSimName")
    @ApiModelProperty(name = "客户简称", notes = "客户简称")
    private String fCustomerSimName;

    /**
     * 单据日期;单据日期
     */
    @TableField("FDate")
    @ApiModelProperty(name = "单据日期", notes = "单据日期")
    private LocalDate fDate;

    /**
     * 部门编码;部门编码
     */
    @TableField("FDeptCode")
    @ApiModelProperty(name = "部门编码", notes = "部门编码")
    private String fDeptCode;

    /**
     * 部门名称;部门名称
     */
    @TableField("FDeptName")
    @ApiModelProperty(name = "部门名称", notes = "部门名称")
    private String fDeptName;

    /**
     * 人员编码;人员编码
     */
    @TableField("FPersonCode")
    @ApiModelProperty(name = "人员编码", notes = "人员编码")
    private String fPersonCode;

    /**
     * 人员;人员
     */
    @TableField("FPersonName")
    @ApiModelProperty(name = "人员", notes = "人员")
    private String fPersonName;

    /**
     * 联系人;联系人
     */
    @TableField("FCusPerson")
    @ApiModelProperty(name = "联系人", notes = "联系人")
    private String fCusPerson;

    /**
     * 联系人编码;联系人编码
     */
    @TableField("FCusPersonCode")
    @ApiModelProperty(name = "联系人编码", notes = "联系人编码")
    private String fCusPersonCode;

    /**
     * 收货地址编码;收货地址编码
     */
    @TableField("FCusAddCode")
    @ApiModelProperty(name = "收货地址编码", notes = "收货地址编码")
    private String fCusAddCode;

    /**
     * 收货地址;收货地址
     */
    @TableField("FCusReceiveAddress")
    @ApiModelProperty(name = "收货地址", notes = "收货地址")
    private String fCusReceiveAddress;

    /**
     * 预完工日期;预完工日期
     */
    @TableField("FCompleteDate")
    @ApiModelProperty(name = "预完工日期", notes = "预完工日期")
    private LocalDate fCompleteDate;

    /**
     * 预计发货时间;预计发货时间
     */
    @TableField("FSendDate")
    @ApiModelProperty(name = "预计发货时间", notes = "预计发货时间")
    private LocalDate fSendDate;

    /**
     * 制单人;制单人
     */
    @TableField("FMaker")
    @ApiModelProperty(name = "制单人", notes = "制单人")
    private String fMaker;

    /**
     * 审核人;审核人
     */
    @TableField("FVerifier")
    @ApiModelProperty(name = "审核人", notes = "审核人")
    private String fVerifier;

    /**
     * 单据头自定义项1;单据头自定义项1
     */
    @TableField("FDefine1")
    @ApiModelProperty(name = "单据头自定义项1", notes = "单据头自定义项1")
    private String fDefine1;

    /**
     * 单据头自定义项2;单据头自定义项2
     */
    @TableField("FDefine2")
    @ApiModelProperty(name = "单据头自定义项2", notes = "单据头自定义项2")
    private String fDefine2;

    /**
     * 发货地址;发货地址
     */
    @TableField("FSendAddress")
    @ApiModelProperty(name = "发货地址", notes = "发货地址")
    private String fSendAddress;

    /**
     * 收货方;收货方
     */
    @TableField("FSender")
    @ApiModelProperty(name = "收货方", notes = "收货方")
    private String fSender;

    /**
     * 经办人;经办人
     */
    @TableField("FAgent")
    @ApiModelProperty(name = "经办人", notes = "经办人")
    private String fAgent;

    /**
     * 经办人电话;经办人电话
     */
    @TableField("FAgentPhone")
    @ApiModelProperty(name = "经办人电话", notes = "经办人电话")
    private String fAgentPhone;

    /**
     * 发货物流;发货物流
     */
    @TableField("FSendLogistics")
    @ApiModelProperty(name = "发货物流", notes = "发货物流")
    private String fSendLogistics;

    /**
     * 订单编号;订单编号
     */
    @TableField("FOrderCode")
    @ApiModelProperty(name = "订单编号", notes = "订单编号")
    private String fOrderCode;

    /**
     * 订单序号；订单序号
     */
    @TableField("FRowNum")
    @ApiModelProperty(name = "订单序号", notes = "订单序号")
    private int fRowNum;

    /**
     * 物料编号;物料编号
     */
    @TableField("FInvCode")
    @ApiModelProperty(name = "物料编号", notes = "物料编号")
    private String fInvCode;

    /**
     * 物料名称;物料名称
     */
    @TableField("FInvName")
    @ApiModelProperty(name = "物料名称", notes = "物料名称")
    private String fInvName;

    /**
     * 物料规格;物料规格
     */
    @TableField("FInvStd")
    @ApiModelProperty(name = "物料规格", notes = "物料规格")
    private String fInvStd;

    /**
     * 销售单位;销售单位
     */
    @TableField("FUnitName")
    @ApiModelProperty(name = "销售单位", notes = "销售单位")
    private String fUnitName;

    /**
     * 单价;单价
     */
    @TableField("FUnitPrice")
    @ApiModelProperty(name = "单价", notes = "单价")
    private BigDecimal fUnitPrice;

    /**
     * 报价;报价
     */
    @TableField("FQuotedPrice")
    @ApiModelProperty(name = "报价", notes = "报价")
    private BigDecimal fQuotedPrice;

    /**
     * 含税单价;含税单价
     */
    @TableField("FTaxUnitPrice")
    @ApiModelProperty(name = "含税单价", notes = "含税单价")
    private BigDecimal fTaxUnitPrice;

    /**
     * 税率，默认17;税率，默认17
     */
    @TableField("FTaxRate")
    @ApiModelProperty(name = "税率，默认17", notes = "税率，默认17")
    private BigDecimal fTaxRate;

    /**
     * 无税金额;无税金额
     */
    @TableField("FMoney")
    @ApiModelProperty(name = "无税金额", notes = "无税金额")
    private BigDecimal fMoney;

    /**
     * 价税合计;价税合计
     */
    @TableField("FSum")
    @ApiModelProperty(name = "价税合计", notes = "价税合计")
    private BigDecimal fSum;

    /**
     * 订货数;订货数
     */
    @TableField("FOrderNum")
    @ApiModelProperty(name = "订货数", notes = "订货数")
    private BigDecimal fOrderNum;

    /**
     * 本次发货数;本次发货数
     */
    @TableField("FSendNum")
    @ApiModelProperty(name = "本次发货数", notes = "本次发货数")
    private BigDecimal fSendNum;

    /**
     * 已扫描数;已扫描数
     */
    @TableField("FScanNum")
    @ApiModelProperty(name = "已扫描数", notes = "已扫描数")
    private BigDecimal fScanNum;

    /**
     * 订单状态;订单状态【0 草稿，1 扫描，2 已发货】
     */
    @TableField("FOrderState")
    @ApiModelProperty(name = "订单状态", notes = "订单状态【0 草稿，1 扫描，2 已发货】")
    private int fOrderState;

    /**
     * 单号;单号
     */
    @TableField("FOrderNumber")
    @ApiModelProperty(name = "单号", notes = "单号")
    private String fOrderNumber;

    /**
     * 通知单号日期【当前日期 y-m-d】
     */
    @TableField("FOrderDate")
    @ApiModelProperty(name = "通知单号日期【当前日期 y-m-d】", notes = "")
    private LocalDate fOrderDate;

    /**
     * 单别编号【2240】;单别编号
     */
    @TableField("FWorksheetCode")
    @ApiModelProperty(name = "单别编号【2240】", notes = "单别编号")
    private String fWorksheetCode;

    /**
     * 单别名称【销售订单】;单别名称
     */
    @TableField("FWorksheetName")
    @ApiModelProperty(name = "单别名称【销售订单】", notes = "单别名称")
    private String fWorksheetName;

    public SalesOrder() {
    }

    public String getfAuditId() {
        return fAuditId;
    }

    public void setfAuditId(String fAuditId) {
        this.fAuditId = fAuditId;
    }

    public String getfBusinessType() {
        return fBusinessType;
    }

    public void setfBusinessType(String fBusinessType) {
        this.fBusinessType = fBusinessType;
    }

    public String getfTypeCode() {
        return fTypeCode;
    }

    public void setfTypeCode(String fTypeCode) {
        this.fTypeCode = fTypeCode;
    }

    public String getfTypeName() {
        return fTypeName;
    }

    public void setfTypeName(String fTypeName) {
        this.fTypeName = fTypeName;
    }

    public String getfDState() {
        return fDState;
    }

    public void setfDState(String fDState) {
        this.fDState = fDState;
    }

    public String getfCustomerCode() {
        return fCustomerCode;
    }

    public void setfCustomerCode(String fCustomerCode) {
        this.fCustomerCode = fCustomerCode;
    }

    public String getfCustomerName() {
        return fCustomerName;
    }

    public void setfCustomerName(String fCustomerName) {
        this.fCustomerName = fCustomerName;
    }

    public String getfCustomerSimName() {
        return fCustomerSimName;
    }

    public void setfCustomerSimName(String fCustomerSimName) {
        this.fCustomerSimName = fCustomerSimName;
    }

    public LocalDate getfDate() {
        return fDate;
    }

    public void setfDate(LocalDate fDate) {
        this.fDate = fDate;
    }

    public String getfDeptCode() {
        return fDeptCode;
    }

    public void setfDeptCode(String fDeptCode) {
        this.fDeptCode = fDeptCode;
    }

    public String getfDeptName() {
        return fDeptName;
    }

    public void setfDeptName(String fDeptName) {
        this.fDeptName = fDeptName;
    }

    public String getfPersonCode() {
        return fPersonCode;
    }

    public void setfPersonCode(String fPersonCode) {
        this.fPersonCode = fPersonCode;
    }

    public String getfPersonName() {
        return fPersonName;
    }

    public void setfPersonName(String fPersonName) {
        this.fPersonName = fPersonName;
    }

    public String getfCusPerson() {
        return fCusPerson;
    }

    public void setfCusPerson(String fCusPerson) {
        this.fCusPerson = fCusPerson;
    }

    public String getfCusPersonCode() {
        return fCusPersonCode;
    }

    public void setfCusPersonCode(String fCusPersonCode) {
        this.fCusPersonCode = fCusPersonCode;
    }

    public String getfCusAddCode() {
        return fCusAddCode;
    }

    public void setfCusAddCode(String fCusAddCode) {
        this.fCusAddCode = fCusAddCode;
    }

    public String getfCusReceiveAddress() {
        return fCusReceiveAddress;
    }

    public void setfCusReceiveAddress(String fCusReceiveAddress) {
        this.fCusReceiveAddress = fCusReceiveAddress;
    }

    public LocalDate getfCompleteDate() {
        return fCompleteDate;
    }

    public void setfCompleteDate(LocalDate fCompleteDate) {
        this.fCompleteDate = fCompleteDate;
    }

    public LocalDate getfSendDate() {
        return fSendDate;
    }

    public void setfSendDate(LocalDate fSendDate) {
        this.fSendDate = fSendDate;
    }

    public String getfMaker() {
        return fMaker;
    }

    public void setfMaker(String fMaker) {
        this.fMaker = fMaker;
    }

    public String getfVerifier() {
        return fVerifier;
    }

    public void setfVerifier(String fVerifier) {
        this.fVerifier = fVerifier;
    }

    public String getfDefine1() {
        return fDefine1;
    }

    public void setfDefine1(String fDefine1) {
        this.fDefine1 = fDefine1;
    }

    public String getfDefine2() {
        return fDefine2;
    }

    public void setfDefine2(String fDefine2) {
        this.fDefine2 = fDefine2;
    }

    public String getfSendAddress() {
        return fSendAddress;
    }

    public void setfSendAddress(String fSendAddress) {
        this.fSendAddress = fSendAddress;
    }

    public String getfSender() {
        return fSender;
    }

    public void setfSender(String fSender) {
        this.fSender = fSender;
    }

    public String getfAgent() {
        return fAgent;
    }

    public void setfAgent(String fAgent) {
        this.fAgent = fAgent;
    }

    public String getfAgentPhone() {
        return fAgentPhone;
    }

    public void setfAgentPhone(String fAgentPhone) {
        this.fAgentPhone = fAgentPhone;
    }

    public String getfSendLogistics() {
        return fSendLogistics;
    }

    public void setfSendLogistics(String fSendLogistics) {
        this.fSendLogistics = fSendLogistics;
    }

    public String getfOrderCode() {
        return fOrderCode;
    }

    public void setfOrderCode(String fOrderCode) {
        this.fOrderCode = fOrderCode;
    }

    public int getfRowNum() {
        return fRowNum;
    }

    public void setfRowNum(int fRowNum) {
        this.fRowNum = fRowNum;
    }

    public String getfInvCode() {
        return fInvCode;
    }

    public void setfInvCode(String fInvCode) {
        this.fInvCode = fInvCode;
    }

    public String getfInvName() {
        return fInvName;
    }

    public void setfInvName(String fInvName) {
        this.fInvName = fInvName;
    }

    public String getfInvStd() {
        return fInvStd;
    }

    public void setfInvStd(String fInvStd) {
        this.fInvStd = fInvStd;
    }

    public String getfUnitName() {
        return fUnitName;
    }

    public void setfUnitName(String fUnitName) {
        this.fUnitName = fUnitName;
    }

    public BigDecimal getfUnitPrice() {
        return fUnitPrice;
    }

    public void setfUnitPrice(BigDecimal fUnitPrice) {
        this.fUnitPrice = fUnitPrice;
    }

    public BigDecimal getfQuotedPrice() {
        return fQuotedPrice;
    }

    public void setfQuotedPrice(BigDecimal fQuotedPrice) {
        this.fQuotedPrice = fQuotedPrice;
    }

    public BigDecimal getfTaxUnitPrice() {
        return fTaxUnitPrice;
    }

    public void setfTaxUnitPrice(BigDecimal fTaxUnitPrice) {
        this.fTaxUnitPrice = fTaxUnitPrice;
    }

    public BigDecimal getfTaxRate() {
        return fTaxRate;
    }

    public void setfTaxRate(BigDecimal fTaxRate) {
        this.fTaxRate = fTaxRate;
    }

    public BigDecimal getfMoney() {
        return fMoney;
    }

    public void setfMoney(BigDecimal fMoney) {
        this.fMoney = fMoney;
    }

    public BigDecimal getfSum() {
        return fSum;
    }

    public void setfSum(BigDecimal fSum) {
        this.fSum = fSum;
    }

    public BigDecimal getfOrderNum() {
        return fOrderNum;
    }

    public void setfOrderNum(BigDecimal fOrderNum) {
        this.fOrderNum = fOrderNum;
    }

    public BigDecimal getfSendNum() {
        return fSendNum;
    }

    public void setfSendNum(BigDecimal fSendNum) {
        this.fSendNum = fSendNum;
    }

    public BigDecimal getfScanNum() {
        return fScanNum;
    }

    public void setfScanNum(BigDecimal fScanNum) {
        this.fScanNum = fScanNum;
    }

    public int getfOrderState() {
        return fOrderState;
    }

    public void setfOrderState(int fOrderState) {
        this.fOrderState = fOrderState;
    }

    public String getfOrderNumber() {
        return fOrderNumber;
    }

    public void setfOrderNumber(String fOrderNumber) {
        this.fOrderNumber = fOrderNumber;
    }

    public LocalDate getfOrderDate() {
        return fOrderDate;
    }

    public void setfOrderDate(LocalDate fOrderDate) {
        this.fOrderDate = fOrderDate;
    }

    public String getfWorksheetCode() {
        return fWorksheetCode;
    }

    public void setfWorksheetCode(String fWorksheetCode) {
        this.fWorksheetCode = fWorksheetCode;
    }

    public String getfWorksheetName() {
        return fWorksheetName;
    }

    public void setfWorksheetName(String fWorksheetName) {
        this.fWorksheetName = fWorksheetName;
    }
}